import request from '@/plugin/axios'

export function fetchList (data) {
  return request({
    url: '/shoporder/orderlist',
    method: 'get',
    params: data
  })
}

export function getExpressList (data) {
  return request({
    url: '/logistics/expresscom',
    method: 'get',
    params: data
  })
}

export function deliver (data) {
  return request({
    url: '/shoporder/deliver',
    method: 'post',
    data
  })
}

export function getlogisticsInfo (data) {
  return request({
    url: '/logistics/message',
    method: 'get',
    params: data
  })
}


export function shopOrderSplitPost (data) {
  return request({
    url: '/shoporder/shopOrderSplitPost',
    method: 'post',
    data
  })
}

export function shopRestoreSplitPost (data) {
  return request({
    url: '/shoporder/shopOrderMergePost',
    method: 'post',
    data
  })
}

export function modifyLogistics (data) {
  return request({
    url: '/logistics/modify',
    method: 'get',
    params: data
  })
}

